package cn.pli.bike.ui;

import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.framemodule.base.BaseDelegate;

import cn.pli.bike.R;

/**
 * Created by shangdongzhou on 2017/11/8.
 */

public class UserAuthDelegate extends BaseDelegate {
    private TextView tvTitle;
    private EditText etName;
    private EditText etVerification;
    private Button btCommit;

    @Override
    public void initTitleBar() {

    }

    @Override
    public int getRootLayoutId() {
        return R.layout.activity_user_auth;
    }

    @Override
    public void initWidget() {
        super.initWidget();
        tvTitle = get(R.id.tv_title);
        tvTitle.setText(R.string.realname_auth);
        etName = get(R.id.et_phone_num);
        etVerification = get(R.id.et_verif_code);
        btCommit = get(R.id.bt_commit);
    }


    public EditText getEtName() {
        return etName;
    }

    public EditText getEtVerification() {
        return etVerification;
    }


    public Button getBtCommit() {
        return btCommit;
    }
}
